home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / sorgl2.z / sorgl2
Encoding:
Text File  |  2002-10-03  |  3.3 KB  |  133 lines

  1.  
  2.  
  3.  
  4. SSSSOOOORRRRGGGGLLLL2222((((3333SSSS))))                                                          SSSSOOOORRRRGGGGLLLL2222((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      SORGL2 - generate an m by n real matrix Q with orthonormal rows,
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      SUBROUTINE SORGL2( M, N, K, A, LDA, TAU, WORK, INFO )
  13.  
  14.          INTEGER        INFO, K, LDA, M, N
  15.  
  16.          REAL           A( LDA, * ), TAU( * ), WORK( * )
  17.  
  18. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  19.      These routines are part of the SCSL Scientific Library and can be loaded
  20.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  21.      directs the linker to use the multi-processor version of the library.
  22.  
  23.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  24.      4 bytes (32 bits). Another version of SCSL is available in which integers
  25.      are 8 bytes (64 bits).  This version allows the user access to larger
  26.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  27.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  28.      only one of the two versions; 4-byte integer and 8-byte integer library
  29.      calls cannot be mixed.
  30.  
  31. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  32.      SORGL2 generates an m by n real matrix Q with orthonormal rows, which is
  33.      defined as the first m rows of a product of k elementary reflectors of
  34.      order n
  35.  
  36.            Q  =  H(k) . . . H(2) H(1)
  37.  
  38.      as returned by SGELQF.
  39.  
  40.  
  41. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  42.      M       (input) INTEGER
  43.              The number of rows of the matrix Q. M >= 0.
  44.  
  45.      N       (input) INTEGER
  46.              The number of columns of the matrix Q. N >= M.
  47.  
  48.      K       (input) INTEGER
  49.              The number of elementary reflectors whose product defines the
  50.              matrix Q. M >= K >= 0.
  51.  
  52.      A       (input/output) REAL array, dimension (LDA,N)
  53.              On entry, the i-th row must contain the vector which defines the
  54.              elementary reflector H(i), for i = 1,2,...,k, as returned by
  55.              SGELQF in the first k rows of its array argument A.  On exit, the
  56.              m-by-n matrix Q.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSOOOORRRRGGGGLLLL2222((((3333SSSS))))                                                          SSSSOOOORRRRGGGGLLLL2222((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      LDA     (input) INTEGER
  75.              The first dimension of the array A. LDA >= max(1,M).
  76.  
  77.      TAU     (input) REAL array, dimension (K)
  78.              TAU(i) must contain the scalar factor of the elementary reflector
  79.              H(i), as returned by SGELQF.
  80.  
  81.      WORK    (workspace) REAL array, dimension (M)
  82.  
  83.      INFO    (output) INTEGER
  84.              = 0: successful exit
  85.              < 0: if INFO = -i, the i-th argument has an illegal value
  86.  
  87. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  88.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  89.  
  90.      This man page is available only online.
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.